<script setup>
const onClickLeft = () => history.back();
import { useRouter } from "vue-router";
const router = useRouter();
const gosqtk = () => {
  router.push("/sqtk");
};
</script>

<template>
  <div class="huise">
    <div class="c-toubu">
      <van-icon @click="onClickLeft" name="arrow-left" />
      <span class="xuanke">待开课</span>
    </div>
    <div class="c-dakuang">
      <div class="c-kuang">
        <div class="c-fkkc">
          <div class="c-ddbh">
            <div class="c-bhzuo">订单编号:<span>PM20191009</span></div>
            <div class="c-bhyou">已付款待开班</div>
          </div>
          <div>二年级数学志高秋季班(下)</div>
          <div class="c-hongse">￥<span>2340</span>/<span>10</span>课时</div>
        </div>
        <div class="c-fkkcxia">
          <div>
            实付:<span class="c-hongse">￥</span
            ><span class="c-hongse">2325</span>
          </div>
          <div class="c-dingdan">
            <div @click="gosqtk" class="c-ljzf">申请退款</div>
          </div>
        </div>
      </div>

      <div class="c-kuang">
        <div class="c-fkkc">
          <div class="c-ddbh">
            <div class="c-bhzuo">订单编号:<span>PM20191009</span></div>
            <div class="c-bhyou">已付款待开班</div>
          </div>
          <div>二年级数学志高秋季班(下)</div>
          <div class="c-hongse">￥<span>2340</span>/<span>10</span>课时</div>
        </div>
        <div class="c-fkkcxia">
          <div>
            实付:<span class="c-hongse">￥</span
            ><span class="c-hongse">2325</span>
          </div>
          <div class="c-dingdan">
            <div @click="gosqtk" class="c-ljzf">申请退款</div>
          </div>
        </div>
      </div>

      <div class="c-kuang">
        <div class="c-fkkc">
          <div class="c-ddbh">
            <div class="c-bhzuo">订单编号:<span>PM20191009</span></div>
            <div class="c-bhyou">已付款待开班</div>
          </div>
          <div>二年级数学志高秋季班(下)</div>
          <div class="c-hongse">￥<span>2340</span>/<span>10</span>课时</div>
        </div>
        <div class="c-fkkcxia">
          <div>
            实付:<span class="c-hongse">￥</span
            ><span class="c-hongse">2325</span>
          </div>
          <div class="c-dingdan">
            <div @click="gosqtk" class="c-ljzf">申请退款</div>
          </div>
        </div>
      </div>

      <div class="c-kuang">
        <div class="c-fkkc">
          <div class="c-ddbh">
            <div class="c-bhzuo">订单编号:<span>PM20191009</span></div>
            <div class="c-bhyou">已付款待开班</div>
          </div>
          <div>二年级数学志高秋季班(下)</div>
          <div class="c-hongse">￥<span>2340</span>/<span>10</span>课时</div>
        </div>
        <div class="c-fkkcxia">
          <div>
            实付:<span class="c-hongse">￥</span
            ><span class="c-hongse">2325</span>
          </div>
          <div class="c-dingdan">
            <div @click="gosqtk" class="c-ljzf">申请退款</div>
          </div>
        </div>
      </div>

      <div class="c-kuang">
        <div class="c-fkkc">
          <div class="c-ddbh">
            <div class="c-bhzuo">订单编号:<span>PM20191009</span></div>
            <div class="c-bhyou">已付款待开班</div>
          </div>
          <div>二年级数学志高秋季班(下)</div>
          <div class="c-hongse">￥<span>2340</span>/<span>10</span>课时</div>
        </div>
        <div class="c-fkkcxia">
          <div>
            实付:<span class="c-hongse">￥</span
            ><span class="c-hongse">2325</span>
          </div>
          <div class="c-dingdan">
            <div @click="gosqtk" class="c-ljzf">申请退款</div>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>



<style scoped>
.c-toubu {
  width: 100%;
  height: 50px;
  font-size: 18px;
  font-weight: 600;
  line-height: 50px;
  border-bottom: 1px solid #999999;
  position: fixed;
  top: 0;
  background-color: #fff;
  z-index: 999;
}

.xuanke {
  margin-left: 10px;
}

.c-dakuang {
  font-size: 14px;
  margin-top: 50px;
}
.c-fkkc {
  padding: 0 10px;
  height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  border-bottom: 1px solid #999999;
}
.c-bhzuo {
  color: #999999;
}
.c-ddbh {
  display: flex;
  justify-content: space-between;
}
.c-bhyou {
  color: red;
  margin-right: 25px;
}

.c-hongse {
  color: red;
}

.c-fkkcxia {
  padding: 0 10px;
  height: 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.c-qxdd {
  width: 70px;
  height: 30px;
  border: 1px solid #108ee9;
  margin-right: 15px;
  text-align: center;
  line-height: 30px;
  border-radius: 5px;
}
.c-ljzf {
  width: 70px;
  height: 30px;
  margin-right: 15px;
  text-align: center;
  line-height: 30px;
  border-radius: 5px;
  background-color: #108ee9;
  color: #fff;
}
.c-dingdan {
  display: flex;
}

.c-kuang {
  margin-top: 15px;
  background-color: #fff;
}

.c-dakuang :nth-child(1) {
  margin-top: 0;
}

.huise {
  background-color: #f2f2f2;
}
</style>